package com.huidu.bitrade.vo;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.huidu.bitrade.config.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
@ApiModel(value = "MemberWalletModifyVo对象",description = "修改用户余额列表对象")
@Data
public class MemberWalletModifyVo {
    @ApiModelProperty("钱包id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id ;

    @ApiModelProperty("币种")
    private String unit ;

    @ApiModelProperty("可用余额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal balance ;

    @ApiModelProperty("冻结余额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal frozenBalance ;

    @ApiModelProperty("系统冻结")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal systemBalance ;

    @ApiModelProperty("钱包地址")
    private String address ;

    @ApiModelProperty("用户id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long memberId ;

    @ApiModelProperty("用户真实名字")
    private String realName ;

    @ApiModelProperty("用户邮箱")
    private String email ;

    @ApiModelProperty("用户手机号")
    private String mobilePhone ;

    @ApiModelProperty("用户名")
    private String username ;
}
